package com.cy.store.service.ex;

/**
 * 删除数据时异常的基类
 */
public class DeleteException extends ServiceException {
    /**
     * Constructs a {@code SecurityException} with no detail message.
     */
    public DeleteException() {
    }

    /**
     * Constructs a {@code SecurityException} with the specified
     * detail message.
     *
     * @param s the detail message.
     */
    public DeleteException(String s) {
        super(s);
    }

    /**
     * Creates a {@code SecurityException} with the specified
     * detail message and cause.
     *
     * @param message the detail message (which is saved for later retrieval
     *                by the {@link #getMessage()} method).
     * @param cause   the cause (which is saved for later retrieval by the
     *                {@link #getCause()} method).  (A {@code null} value is permitted,
     *                and indicates that the cause is nonexistent or unknown.)
     * @since 1.5
     */
    public DeleteException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Creates a {@code SecurityException} with the specified cause
     * and a detail message of {@code (cause==null ? null : cause.toString())}
     * (which typically contains the class and detail message of
     * {@code cause}).
     *
     * @param cause the cause (which is saved for later retrieval by the
     *              {@link #getCause()} method).  (A {@code null} value is permitted,
     *              and indicates that the cause is nonexistent or unknown.)
     * @since 1.5
     */
    public DeleteException(Throwable cause) {
        super(cause);
    }
}
